package com.cuit.qx.bean;

import com.cuit.qx.bean.RoleGroup;

import java.io.Serializable;
import java.util.Date;

public class User implements Serializable{
	
	private static final long serialVersionUID = 1L;

	private String userId;

    private String groupId;

    private String account;

    private String username;

    private String password;

    private String phone;

    private String address;

    private Short status;

    private String adduser;

    private Date addtime;

    private Short userType;

    private String email;

    private String company;

    private Date lockDate;

    private Short errorcount;
    
    private RoleGroup role;
    
    private String muncplIds;

    public String getMuncplIds() {
		return muncplIds;
	}

	public void setMuncplIds(String muncplIds) {
		this.muncplIds = muncplIds;
	}

	public RoleGroup getRole() {
		return role;
	}

	public void setRole(RoleGroup role) {
		this.role = role;
	}

	public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupid) {
        this.groupId = groupid == null ? null : groupid.trim();
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account == null ? null : account.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public Short getStatus() {
        return status;
    }

    public void setStatus(Short status) {
        this.status = status;
    }

    public String getAdduser() {
        return adduser;
    }

    public void setAdduser(String adduser) {
        this.adduser = adduser == null ? null : adduser.trim();
    }

//    @JsonFormat(pattern="yyyy-MM-dd HH",timezone = "GMT+8")
    public Date getAddtime() {
        return addtime;
    }

    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }

    public Short getUserType() {
        return userType;
    }

    public void setUserType(Short userType) {
        this.userType = userType;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company == null ? null : company.trim();
    }

    public Date getLockDate() {
        return lockDate;
    }

    public void setLockDate(Date lockDate) {
        this.lockDate = lockDate;
    }

    public Short getErrorcount() {
        return errorcount;
    }

    public void setErrorcount(Short errorcount) {
        this.errorcount = errorcount;
    }
}